package com.googlecode.yoohoo.xmppcore.protocol.stanza.error;

public enum ErrorType {
	CANCEL {
		@Override
		public String toString() {
			return ERROR_TYPE_CANCEL_STRING;
		}
	},
	CONTINUE {
		@Override
		public String toString() {
			return ERROR_TYPE_CONTINUE_STRING;
		}
	},
	MODIFY {
		@Override
		public String toString() {
			return ERROR_TYPE_MODIFY_STRING;
		}
	},
	AUTH {
		@Override
		public String toString() {
			return ERROR_TYPE_AUTH_STRING;
		}
	},
	WAIT {
		@Override
		public String toString() {
			return ERROR_TYPE_WAIT_STRING;
		}
	};

	private static final String ERROR_TYPE_WAIT_STRING = "wait";
	private static final String ERROR_TYPE_AUTH_STRING = "auth";
	private static final String ERROR_TYPE_MODIFY_STRING = "modify";
	private static final String ERROR_TYPE_CONTINUE_STRING = "continue";
	private static final String ERROR_TYPE_CANCEL_STRING = "cancel";
}
